<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var res={
        "msg":"获取数据成功",
        "code":1,
        "data":[
            {"id":"3","channel_name":"91 iOS","icon":"/images/channel_icon/201506/1434630301864.jpg","platform":"2"}
            ,{"id":"4","channel_name":"九游 安卓","icon":"/images/channel_icon/201506/1434630294718.jpg","platform":"1"}
        ]
    };
    console.log(res.data[0])
</script>
</body>
</html>